package com.morn.dict.lib;

import com.morn.dict.lib.model.DictInfo;
//create .h
//javah -classpath . -jni com.morn.dict.lib.MornDictLib

public class MornDictLib {

	static {
		System.loadLibrary("MornDict");
	}

	public native int init(String dictPath);

	public native DictInfo[] getDictInfos();

	public native Object query(DictInfo[] dictInfos, String word);

}
